//
// const teacher = {
//     state:{
//         id: 0,
//         username: "",
//         password:"",
//         age:18,
//         sex:"",
//         vip:"",
//         nickname:'',
//         avatarUrl:'',
//         phone:"",
//         trueName:'',
//         idCode:'',
//         certificate:"",
//         status:false
//     },
//     getters:{
//         getTeacherId(state){
//             return state.id
//         },
//         getTeacherUsername(state){
//             return state.username
//         },
//         getTeacherPassword(state){
//             return state.password
//         },
//         getTeacherAge(state){
//           return state.age
//         },
//         getTeacherSex(state){
//             return state.sex
//         },
//         getTeacherVip(state){
//             return state.vip
//         },
//         getTeacherNickname(state){
//             return state.nickname;
//         },
//         getTeacherAvatarUrl(state){
//             return state.avatarUrl;
//         },
//         getTeacherPhone(state){
//             return state.phone;
//         },
//         getTeacherStatus(state){
//             return state.status;
//         }
//     },
//     mutations:{
//         saveTeacher(state,teacher){
//             state.id = teacher.id
//             state.username = teacher.username
//             state.password = teacher.password
//             state.age = teacher.age
//             state.sex = teacher.sex
//             state.vip = teacher.vip
//             state.nickname = teacher.nickname;
//             state.avatarUrl = teacher.avatarUrl;
//             state.phone = teacher.phone;
//             state.trueName = teacher.trueName;
//             state.idCode = teacher.idCode;
//             state.certificate = teacher.certificate
//         },
//         saveTeacherStatus(state,status){
//             state.status = status;
//         },
//         saveTeacherAvatarUrl(state,avatarUrl){
//             state.avatarUrl = avatarUrl;
//         },
//         saveTeacherNickname(state,nickname){
//             state.nickname = nickname;
//         },
//         resetTeacher(state){
//             state.id = 0
//             state.username = ""
//             state.password = ""
//             state.age = 18
//             state.sex = ""
//             state.vip = ""
//             state.nickname = ""
//             state.avatarUrl = ""
//             state.phone = ""
//             state.trueName = ""
//             state.idCode = ""
//             state.certificate = ""
//             state.status = false;
//         }
//     },
//     actions:{
//
//     }
// }
// export default teacher